home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / challenge / 12.09-Sep96 / Testcode96.09R1.sit / Testcode96.09R1 / 3 HelloWorld / HelloWorld.class.dmp < prev    next >
Text File  |  1996-08-15  |  6KB  |  136 lines

  1. magic = xCAFEBABE (should be 0xCAFEBABE)
  2. minor version = 3
  3. major version = 45
  4. constant_pool_count = 52
  5. [1] CONSTANT_String            string_index = 39
  6. [2] CONSTANT_String            string_index = 41
  7. [3] CONSTANT_Class            name_index = 45
  8. [4] CONSTANT_Class            name_index = 36
  9. [5] CONSTANT_Class            name_index = 50
  10. [6] CONSTANT_Class            name_index = 23
  11. [7] CONSTANT_Class            name_index = 27
  12. [8] CONSTANT_Fieldref            class_index = 7, name_and_type_index = 17
  13. [9] CONSTANT_Methodref            class_index = 4, name_and_type_index = 20
  14. [10] CONSTANT_Methodref            class_index = 3, name_and_type_index = 18
  15. [11] CONSTANT_Methodref            class_index = 6, name_and_type_index = 15
  16. [12] CONSTANT_Methodref            class_index = 5, name_and_type_index = 19
  17. [13] CONSTANT_Methodref            class_index = 4, name_and_type_index = 16
  18. [14] CONSTANT_Methodref            class_index = 4, name_and_type_index = 18
  19. [15] CONSTANT_NameAndType            name_index = 21, signature_index = 37
  20. [16] CONSTANT_NameAndType            name_index = 47, signature_index = 33
  21. [17] CONSTANT_NameAndType            name_index = 35, signature_index = 40
  22. [18] CONSTANT_NameAndType            name_index = 42, signature_index = 51
  23. [19] CONSTANT_NameAndType            name_index = 26, signature_index = 43
  24. [20] CONSTANT_NameAndType            name_index = 34, signature_index = 43
  25. [21] CONSTANT_Utf8            length =   7 'println'
  26. [22] CONSTANT_Utf8            length =   4 'this'
  27. [23] CONSTANT_Utf8            length =  19 'java/io/PrintStream'
  28. [24] CONSTANT_Utf8            length =  18 'Ljava/lang/String;'
  29. [25] CONSTANT_Utf8            length =  13 'ConstantValue'
  30. [26] CONSTANT_Utf8            length =   7 'myHello'
  31. [27] CONSTANT_Utf8            length =  16 'java/lang/System'
  32. [28] CONSTANT_Utf8            length =  10 'Exceptions'
  33. [29] CONSTANT_Utf8            length =  15 'LineNumberTable'
  34. [30] CONSTANT_Utf8            length =  10 'SourceFile'
  35. [31] CONSTANT_Utf8            length =  14 'LocalVariables'
  36. [32] CONSTANT_Utf8            length =   4 'Code'
  37. [33] CONSTANT_Utf8            length =  44 '(Ljava/lang/String;)Ljava/lang/StringBuffer;'
  38. [34] CONSTANT_Utf8            length =   8 'toString'
  39. [35] CONSTANT_Utf8            length =   3 'out'
  40. [36] CONSTANT_Utf8            length =  22 'java/lang/StringBuffer'
  41. [37] CONSTANT_Utf8            length =  21 '(Ljava/lang/String;)V'
  42. [38] CONSTANT_Utf8            length =  15 'HelloWorld.java'
  43. [39] CONSTANT_Utf8            length =  13 'Hello, World!'
  44. [40] CONSTANT_Utf8            length =  21 'Ljava/io/PrintStream;'
  45. [41] CONSTANT_Utf8            length =  18 'Correct result is '
  46. [42] CONSTANT_Utf8            length =   6 '<init>'
  47. [43] CONSTANT_Utf8            length =  20 '()Ljava/lang/String;'
  48. [44] CONSTANT_Utf8            length =  12 'LHelloWorld;'
  49. [45] CONSTANT_Utf8            length =  18 'java/applet/Applet'
  50. [46] CONSTANT_Utf8            length =  18 'LocalVariableTable'
  51. [47] CONSTANT_Utf8            length =   6 'append'
  52. [48] CONSTANT_Utf8            length =   1 's'
  53. [49] CONSTANT_Utf8            length =   5 'start'
  54. [50] CONSTANT_Utf8            length =  10 'HelloWorld'
  55. [51] CONSTANT_Utf8            length =   3 '()V'
  56. access_flags = x1
  57. this_class  = Class 'HelloWorld'
  58. super_class = Class 'java/applet/Applet'
  59. interfaces_count = 0
  60. fields_count = 0
  61. methods_count = 3
  62. method[0]:
  63.         access_flags = x1
  64.         name_index = 'myHello'
  65.         signature_index = '()Ljava/lang/String;'
  66.         attributes_count = 1
  67.         [0] attribute_name_index = 'Code' length = 45
  68.         max_stack 1
  69.         max_locals 1
  70.         code_length 3
  71.             0: ldc                         String 'Hello, World!'                        2: areturn            
  72.         exception_table_length 0
  73.             attributes_count = 2
  74.             [0] attribute_name_index = 'LineNumberTable' length = 6
  75.             line_number_table_length 1
  76.                 [0] start_pc = 0, line_number = 9
  77.             [1] attribute_name_index = 'LocalVariableTable' length = 12
  78.             local_variable_table_length 1
  79.                 [0] start_pc = 0 length = 3 name_index = 22 signature_index = 44 slot = 0
  80. method[1]:
  81.         access_flags = x1
  82.         name_index = 'start'
  83.         signature_index = '()V'
  84.         attributes_count = 1
  85.         [0] attribute_name_index = 'Code' length = 91
  86.         max_stack 3
  87.         max_locals 2
  88.         code_length 31
  89.             0: aload_0            
  90.             1: invokevirtual             Methodref Class 'HelloWorld' NameAndType 'myHello' '()Ljava/lang/String;'
  91.             4: astore_1            
  92.             5: getstatic             Fieldref Class 'java/lang/System' NameAndType 'out' 'Ljava/io/PrintStream;'
  93.             8: new                         Class 'java/lang/StringBuffer'
  94.            11: dup                        
  95.            12: invokenonvirtual             Methodref Class 'java/lang/StringBuffer' NameAndType '<init>' '()V'
  96.            15: ldc                         String 'Correct result is '                       17: invokevirtual             Methodref Class 'java/lang/StringBuffer' NameAndType 'append' '(Ljava/lang/String;)Ljava/lang/StringBuffer;'
  97.            20: aload_1            
  98.            21: invokevirtual             Methodref Class 'java/lang/StringBuffer' NameAndType 'append' '(Ljava/lang/String;)Ljava/lang/StringBuffer;'
  99.            24: invokevirtual             Methodref Class 'java/lang/StringBuffer' NameAndType 'toString' '()Ljava/lang/String;'
  100.            27: invokevirtual             Methodref Class 'java/io/PrintStream' NameAndType 'println' '(Ljava/lang/String;)V'
  101.            30: return            
  102.         exception_table_length 0
  103.             attributes_count = 2
  104.             [0] attribute_name_index = 'LineNumberTable' length = 14
  105.             line_number_table_length 3
  106.                 [0] start_pc = 0, line_number = 15
  107.                 [1] start_pc = 5, line_number = 16
  108.                 [2] start_pc = 30, line_number = 12
  109.             [1] attribute_name_index = 'LocalVariableTable' length = 22
  110.             local_variable_table_length 2
  111.                 [0] start_pc = 0 length = 31 name_index = 22 signature_index = 44 slot = 0
  112.                 [1] start_pc = 5 length = 26 name_index = 48 signature_index = 24 slot = 1
  113. method[2]:
  114.         access_flags = x1
  115.         name_index = '<init>'
  116.         signature_index = '()V'
  117.         attributes_count = 1
  118.         [0] attribute_name_index = 'Code' length = 47
  119.         max_stack 1
  120.         max_locals 1
  121.         code_length 5
  122.             0: aload_0            
  123.             1: invokenonvirtual             Methodref Class 'java/applet/Applet' NameAndType '<init>' '()V'
  124.             4: return            
  125.         exception_table_length 0
  126.             attributes_count = 2
  127.             [0] attribute_name_index = 'LineNumberTable' length = 6
  128.             line_number_table_length 1
  129.                 [0] start_pc = 0, line_number = 5
  130.             [1] attribute_name_index = 'LocalVariableTable' length = 12
  131.             local_variable_table_length 1
  132.                 [0] start_pc = 0 length = 5 name_index = 22 signature_index = 44 slot = 0
  133.     attributes_count = 1
  134.     [0] attribute_name_index = 'SourceFile' length = 2
  135.     sourcefile_index =  'HelloWorld.java'
  136.